package com.whately.core.base.selfconfig;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "myconfig.rbac.superadmin")
@Slf4j
@Data
public class SelfDefineConfigRbacSuperAdmin {
    public final static String SUPER_ADMIN_ACCOUNT_NO="SUPERADMIN";

    //超级用户开关
    private boolean enable = true;

    //白名单
    private String white=SUPER_ADMIN_ACCOUNT_NO+",";


}
